package research.domain;

import java.util.Set;

import research.entity.Entity;
import research.entity.EntityType;

public final class Strength extends Entity {
	private String name;
	private String idx;
	private Sample sample;
	private Set<StrengthValue> strengthValues;
	
	public Strength() {
		super(EntityType.Strength);
	}

	@Override
	public String getDisplayName() {
		return this.getName();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdx() {
		return idx;
	}

	public void setIdx(String idx) {
		this.idx = idx;
	}

	public Set<StrengthValue> getStrengthValues() {
		return strengthValues;
	}

	public void setStrengthValues(Set<StrengthValue> strength_values) {
		this.strengthValues = strength_values;
	}

	public Sample getSample() {
		return sample;
	}

	public void setSample(Sample sample) {
		this.sample = sample;
	}
	
	public static Strength getNew() {
		Strength str = new Strength();
		str.setName("");
		str.setIdx("");
		return str;
	}
}
